package com.m3958.firstgwt.client.place;

import com.m3958.firstgwt.client.MyPlace;
import com.m3958.firstgwt.client.types.ViewNameEnum;

public class MenuLevelEditPlace extends MyPlace{
	
	private String menuLevelId;
	
	public MenuLevelEditPlace(String menuLevelId){
		this.menuLevelId = menuLevelId;
	}

	@Override
	public String getToken() {
		return ViewNameEnum.MENULEVEL_EDIT.toString().toLowerCase() + "/" + menuLevelId;
	}

	public String getMenuLevelId() {
		return menuLevelId;
	}

	public void setMenuLevelId(String menuLevelId) {
		this.menuLevelId = menuLevelId;
	}

}
